var express = require('express');
var router = express.Router();

var basic = require('../controller/index')
    //users
    // router.get('/userList', usersController.userList);
router.post('/getDicts', basic.getDicts);
router.post('/editDicts', basic.editDicts);
router.post('/delDicts', basic.delDicts);
router.post('/insertDict', basic.insertDicts);


// router.post('/register', usersController.register);
// router.get('/get', usersController.get);

/* GET home page. */
// router.get('/', function(req, res, next) {
//     res.render('index', { title: 'Express' });
// });

module.exports = router;